/**
 * related to listRowTemplate.ui
 * 
 * @Author : chenglm
 * @Timestamp : 2016-07-12
 */
var root=ui("$");
//设置数据绑定的映射关系
root.setMapping({
	"do_Label_name.text":"contactName",
	"do_Label_address.text":"address",
	"aLayoutSelect.visible":"isSelect",
	"do_Label_address.tag" : "isDefault"
});

root.on("dataRefreshed", function(){
	var isDeault = ui("do_Label_address").tag;
	if(isDeault == 1){
		ui("do_Label_defaultFlag").text = "默认地址";
	}else{
		ui("do_Label_defaultFlag").text = "";
	}
});